.MenuItem {
    position: relative;
    min-width: 160px;
    line-height: 24px;
    margin: 3px;
    padding: 2px 14px 2px 30px;
    vertical-align: top;
    white-space: nowrap;
    box-sizing: border-box;
    cursor: pointer;
    user-select: none;
    --right-arrow: url('') repeat-y rgb(240, 240, 240);
}

.MenuItem.hidden {
    display: none !important;
}

.MenuItem:hover {
    background: linear-gradient(to bottom, rgba(193, 222, 255, 0.2), rgba(193, 222, 255, 0.4));
    color: black;
    padding: 1px 13px 1px 29px;
    border: 1px solid rgb(183, 212, 246);
}

.MenuItem.disabled {
    cursor: not-allowed;
}

.MenuItem.disabled:hover {
    background: initial;
    color: initial;
    padding: 2px 14px 2px 30px;
    border: initial;
}

.MenuItem.disabled>span {
    color: #aaa !important;
    pointer-events: none;
}

.MenuItem>span {
    pointer-events: none;
}

.MenuItem>.suffix {
    text-align: right;
    display: block;
    float: right;
    pointer-events: none;
}

.MenuItem>.sub {
    position: absolute;
    left: calc(100% + 4px);
    top: -4px;
    box-sizing: border-box;
    cursor: default;
    display: none;
    z-index: 300;
}

.MenuItem>.sub::before {
    position: absolute;
    left: -6px;
    height: 100%;
    width: 8px;
    content: '';
}

.MenuItem:hover>.sub {
    display: block;
}

.MenuItem>.sub>.wrap {
    position: relative;
    list-style: none;
    background: var(--right-arrow);
    background-position: 24px 0;
    margin: 0;
    padding: 0;
    border: 1px solid rgb(195, 195, 195);
    border-radius: 5px;
    box-shadow: rgba(128, 128, 128, 0.5) 0px 0px 16px 1px;
    box-sizing: border-box;
    vertical-align: text-bottom;
}